#pragma once

enum volcmd
{
	add=0,
	sub=1,
	mute=2
};/**/

BOOL WINAPI SetVol(clientSession *cls, byte *Arg/**/)
{	
	switch ((char)*Arg)
	{
	case volcmd::add:
		CAudioHelper::getSingletonPtr()->AddVol();
		break;
	case volcmd::sub:
		CAudioHelper::getSingletonPtr()->SubVol();
		break;
	case volcmd::mute:
		CAudioHelper::getSingletonPtr()->SetMute();
		break;
	default:
		break;
	}
	return S_OK;
}